package com.xbts.common.utils.aspose;

import java.util.Arrays;
import java.util.List;

/**
 * 文件转换常量
 *
 * @author swx
 * @version v1.0
 * @date 2022/10/27 15:25
 */
public class FileConvertConstant {

    private FileConvertConstant(){}
    /**
     * word文件类型
     */
    public static final List<String> WORDS_TO_PDF = Arrays.asList(".docx", ".doc");
    /**
     * excel文件类型
     */
    public static final List<String> EXCELS_TO_PDF = Arrays.asList(".xls", ".xlsx");
    /**
     * ppt文件类型
     */
    public static final List<String> PPT_TO_PDF = Arrays.asList(".ppt", ".pptx");

    /**
     * 文件后缀pdf
     */
    public static final String PDF = ".pdf";

    /**
     * 文件后缀txt
     */
    public static final String TXT = ".txt";
    /**
     * 支持转pdf的文件类型
     */
    public static final List<String> SUPPORT_TYPE_TO_PDF =  Arrays.asList(".docx", ".doc",".xls", ".xlsx",".ppt", ".pptx");


}
